﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Website.UserControl
{
    public partial class Search : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnSumit_Click(object sender, EventArgs e)
        {
            Response.Redirect(String.Format("~/Search.aspx?p={0}", txtSearch.Text));
        }
    }
}